.chat-window-footer-contrainer {
	border-top: 1px solid #e8e8e8;

	.chat-window-footer-title {
		margin: 14px 16px 14px 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.function-box {
			span {
				cursor: pointer;
				margin-left: 16px;
				font-size: 28px;
			}
		}
		.send-btn-box {
			position: relative;
			button {
				border: 0;
				width: 74px;
				height: 28px;
				background: #252b48;
				border-radius: 2px;
				font-size: 14px;
				color: #ffffff;
				span {
					margin-right: 15px;
				}
			}
			.icon-widget-xiajiantou:before {
				font-size: 12px;
				position: absolute;
				top: 6px;
				right: 8px;
				color: #fff;
			}
		}
	}
	.chat-window-footer-content {
		padding: 0 16px;
		.widget-message-text {
			height: 148px;
			outline: none;
			resize: none;
			border: 0;
			font-size: 12px;
			overflow-y: scroll;
		}
	}
}

.chat-window-content {
	width: 100%;
	background: #ffffff;
	position: relative;
	.title {
		font-size: 13px;
		font-weight: 500;
		color: #2d2d2d;
		line-height: 18px;
		padding-top: 12px;
		padding-left: 14px;
	}
	.join-session-message {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 10px;
		.message {
			margin: 0;
			background: #f4f5f9;
			border-radius: 12px;
			font-size: 12px;
			color: #747779;
			padding: 2px 20px;
		}
	}
	.time-container {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 10px;
		.time {
			margin: 0;
			padding: 0;
			font-size: 12px;
			color: #b0b0b0;
		}
	}
}

.widget-message-text[contenteditable]:empty:before {
	content: attr(placeholder);
	color: #cccccc;
}
.widget-message-text[contenteditable]:focus {
	content: none;
}
.widget-message-text {
	img {
		margin: 0 4px;
	}
}

.emoji-container-bg {
	background: #ffffff;
	box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.14);
	border-radius: 2px;
}

.chat-message-container {
	width: 100%;
	overflow-y: scroll;
	.chat-record {
		margin: 0;
		padding: 0;
	}
	.agent-box {
		padding: 12px 0;
		width: 100%;
		display: flex;
		padding-right: 18px;
		flex-flow: row-reverse;
		.agent-message {
			.agent-name {
				text-align: right;
				padding-bottom: 6px;
				margin: 0;
				font-size: 12px;
				color: #666666;
			}
			.text {
				p {
					font-size: 12px;
					font-weight: 400;
					color: #ffffff;
					padding: 8px 12px;
					margin: 0;
					background: #252b48;
					border-radius: 2px;
					max-width: 240px;
					overflow: hidden;
					word-break: break-word;
				}
			}
		}
	}
	.client-box {
		padding: 12px 0;
		width: 100%;
		display: flex;
		padding-left: 14px;
		.client-message {
			.client-name {
				margin: 0;
				font-size: 12px;
				color: #666666;
				margin-bottom: 6px;
			}
			.text {
				p {
					max-width: 192px;
					overflow: hidden;
					word-break: break-word;
					background: #f4f5f9;
					box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
					border-radius: 2px;
					font-size: 12px;
					padding: 8px 12px;
				}
			}
		}
	}
}

.file-message-container {
	cursor: pointer;
	width: 240px;
	height: 60px;
	background: #fafafa;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
	border-radius: 2px;
	display: flex;
	.file-message-name {
		width: 168px;
		height: 34px;
		font-size: 12px;
		font-weight: 400;
		color: #1b1b1b;
		line-height: 17px;
		margin: 12px 0 10px 7px;
		overflow: hidden; //超出的文本隐藏
		text-overflow: ellipsis; //溢出用省略号显示
		display: -webkit-box;
		-webkit-line-clamp: 2; // 超出多少行
		-webkit-box-orient: vertical;
	}
	.file-message-icon {
		margin: 10px 10px 0 22px;
		.widget-icon {
			width: 28px;
			height: 38px;
		}
	}
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
	width: 6px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
	border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: #dddfe1;
}

.widget-waiting-box-container {
	text-align: center;

	.loading {
		margin: 0 auto;
		width: 28px;
		height: 28px;
		background-image: url(../../../assets/img/loading.gif);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;

	}
	.waiting-text {
		margin-top: 16px;
		font-size: 14px;
		font-weight: 400;
		color: #222222;
		line-height: 16px;
		text-align: center;
	}
	.ant-modal-footer {
		text-align: center;
		padding-top: 0;
	}
	.button {
		width: 80px;
		height: 36px;
		background: #FFFFFF;
		border-radius: 4px;
		border: 1px solid #DADFDD;
		font-size: 14px;
		font-weight: 400;
		color: #C5C9C7;
		line-height: 36px;
		padding: 0;
	}
}